package cn.jobstart.pubInter.baseVO;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sunke
 * @Date 2019-09-11 09:15
 * @description
 */

@Data
@ApiModel("基础VO")
public class AbstractVO<KeyType> implements Serializable {

    @ApiModelProperty("主键")
    @ExcelIgnore
    private KeyType id;

    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间")
    private Date createTime;


    @ApiModelProperty("更新时间")
    @ExcelIgnore
    private Date updateTime;


}
